<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />
  <meta name="viewport" content="width=device-width, initial-scale=1"> 

	
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/style.css" />

	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
	
</head>

<body>
<!-- cabecera -->
<div class="header" data-role="header">
	<div class="top">
    	<div class="contents">
	    	<h1><a href="/preview/index/id/<?php echo $this->code ?>" class="logo"></a></h1>
        </div>
    </div>
    <div class="middle">
    	<div class="contents"> 
	        <span><?php echo CHtml::encode($this->slogan); ?></span>
        </div>
    </div>
</div>
<!-- fin de cabecera -->
<div data-role="content"> 
<?php echo $content; ?>
</div>

<!-- pie -->
<div class="contents">
    <div class="footer" data-role="footer">
        <span class="copy">&copy; 2011 <a href="http://www.onemobo.mobi/">onemobo.mobi</a><br />Powered by onemobo</span>
        <a href="#" class="top">Top</a>
    </div>
</div>
<!-- fin de pie -->

</div><!-- page -->

</body>
</html>